package sunyu.kit.common;

import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;

/**
 * 异常工具类
 *
 * @author 孙宇
 */
public class ExceptionKit {

    private static final Logger logger = LogKit.getLogger();

    /**
     * 获得StackTrace
     *
     * @param throwable
     * @return
     */
    public static String getStackTrace(Throwable throwable) {
        return ExceptionUtils.getStackTrace(throwable);
    }

}
